package com.invoicerecognition.backend.controller.teacher;

import com.invoicerecognition.backend.service.teacher.GetTeacherInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
public class GetTeacherInfoController {

    @Autowired
    private GetTeacherInfoService getTeacherInfoService;

    @GetMapping("/api/teacher/get-info")
    public Map<String, String> getTeacherInfo() {
        return getTeacherInfoService.getTeacherInfo();
    }

}
